package com.example.moudlec.controller;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.example.moudlec.entity.FileManGer;
import com.example.moudlec.service.FileManGerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

/**
 * (FileManGer)表控制层
 *
 * @author makejava
 * @since 2021-08-23 17:27:45
 */
@SuppressWarnings("all")
@RestController
@RequestMapping("/moudlec/fileMG")
public class FileManGerController {
    /**
     * 服务对象
     */
    @Autowired
    private FileManGerService service;

    @RequestMapping("/fileList")
    public IPage<FileManGer> fileList(Long pageNum, Long pageSize) {
        return  service.fileList(pageNum,pageSize);
    }
}
